<?

class Fournisseur extends Model {

    public $_id;
    public $nom;
    public $prenom;
    public $societe;
    public $adresse_rue;
    public $adresse_cp;
    public $adresse_ville;
    public $tel;
    public $fax;
    public $email;
    public $internet;
    public $user_id;
    
    public function __toString(){
    	$return = $this->prenom." ".$this->nom;
    	if($this->societe != ""){
    		$return .= " ($this->societe)";
    	}
    	return stripslashes( $return );
    }
    
}